<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class dept extends Model
{
    use HasFactory;
    protected $table = 'dept';  // 指定表名
    protected $guarded = []; // 允许所有字段批量赋值
    //protected $fillable = []; 禁止所有字段批量赋值
    //protected $fillable = ['title', 'content']; // 这些字段可以批量赋值


}
